#include "HandlerManager.h"
#include "HandlerV2.h"
#include "HandlerV4.h"

HandlerManager::

HandlerManager::HandlerManager(QObject *parent)
    : QObject(parent)
{
    m_mapOfImgVersionToHandler[Ver2] = new HandlerV2(this);
    m_mapOfImgVersionToHandler[Ver4] = new HandlerV4(this);
}

Handler *HandlerManager::GetHandler(ImgVersionEnum ver)
{
    return m_mapOfImgVersionToHandler[ver];
}
